package com.one.blocks.common.exception;

import com.one.blocks.common.enums.CodeMsgEnum;
import lombok.Getter;

/**
 * @author linfuxin Created on 2022-02-14 16:20:59
 */
@Getter
public class BusinessException extends RuntimeException{
    private final CodeMsgEnum errorEnum;

    public BusinessException(CodeMsgEnum errorEnum) {
        this.errorEnum = errorEnum;
    }
}
